/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2025-08-06 10:05:15
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2025-08-06 10:53:30
 * @FilePath: \project\work-tool\my-dev-project\src\views\404\notFound.tsx
 * @Description: 
 */
// import React from 'react'
import { Result, Button } from "antd"
import { useNavigate } from "react-router-dom"
import styles from './404.module.scss'


const NotFoundPage = () => {
    const navigate = useNavigate()
    const handleBack = () => {
        navigate('/')
    }
    return (
        <Result
            status="404"
            title="404"
            subTitle="抱歉，您访问的页面不存在"
            className={styles.resultContent}
        >
            <Button type="primary" onClick={handleBack}>返回首页</Button>
        </Result>
    )
}

export default NotFoundPage